<?php
/* @var $this PostsController */
/* @var $model Posts */

$this->breadcrumbs=array(
	'内容管理'=>array('admin', 'category_id' => $category->id),
	$model->post_title=>array('view','id'=>$model->id),
	'修改',
);

$this->menu=array(
	array('label'=>'添加', 'url'=>array('create', 'category_id' => $category->id)),
	array('label'=>'查看', 'url'=>array('view', 'id'=>$model->id)),
	array('label'=>'内容管理', 'url'=>array('admin', 'category_id' => $category->id)),
);
?>

<h1> <?php echo $model->post_title; ?></h1>

<?php echo $this->renderPartial('_form', array('model'=>$model, 'category' => $category)); ?>